package com.pwt.model.what;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;

/**
 * @author dw
 * @version 1.0.0
 * @date 2021/9/24
 */
@Data
@Tag(name = "被测参数模型")
public class CharacteristicsModel {

    @Schema(name = "k1000",description = "零件号")
    private Integer k1000;

    @Schema(name = "k1002",description = "零件名称")
    private String k1002;

    @Schema(name = "k2000",description = "被测参数顺序号")
    private Short k2000;

    @Schema(name = "k2002",description = "被测参数名称")
    private String k2002;

    @Schema(name = "k0014",description = "零件id")
    private String k0014;

    @Schema(name = "k0005",description = "报错原因")
    private String k0005;

    @Schema(name = "k0006",description = "批次号")
    private String k0006;

    @Schema(name = "k2009",description = "测量尺寸 symbol")
    private Short k2009;

    @Schema(name = "k2142",description = "单位")
    private String k2142;

    @Schema(name = "k0001",description = "测量值")
    private Double k0001;

    @Schema(name = "dateTime",description = "测试时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date  dateTime;

    @Schema(name = "k2101",description = "名义值")
    private Double k2101;

    @Schema(name = "k2110",description = "上限")
    private Double k2110;

    @Schema(name = "k2111",description = "下限")
    private Double k2111;

    @Schema(name = "k2114",description = "下报废界限")
    private Double k2114;

    @Schema(name = "k2115",description = "上报废界限")
    private Double k2115;

    @Schema(name = "fileName",description = "曲线文件名称")
    @JsonIgnore
    private String code;

}
